<template>
  <el-table-plus :tableData="useDataStore().tableData"></el-table-plus>
</template>

<script setup>
import { getRecycleFileList } from '@/request/download'
import { useDataStore, useUserStore } from '@/stores/index'
import ElTablePlus from '@/components/el-table-plus.vue'
import { getUserInfo } from '@/request/usr'
getRecycleFileList(useUserStore().UserInfo.userId).then(async (res) => {
  console.log(res)
  useDataStore().setData(res.data || [])
  await getUserInfo(useUserStore().UserInfo.userId).then((res) => {
    useUserStore().setUserInfo(res)
  })
})
</script>

<style lang="scss" scoped></style>
